<?php
namespace app\api\model;
use think\Model;

class MarketList extends Model
{
	protected $autoWriteTimestamp = true;
	protected $updateTime = false;
	protected $pk = 'id';

    // 商品列表
    public function fproduct() {
        return $this->hasOne('\app\api\model\Finished','id','finished_id')->bind(
            ['name', 'specification']);
    }
}

